﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RonaldCamcam.XBeeApiFramework.AtCommands
{
    public partial class AT
    {
        public static string GetName<T>(List<byte> value)
        {
            if (value.Count != 0)
                return Enum.GetName(typeof(T), value[0]);
            else
                return string.Empty;
        }
    }
}
